<?php

/**
 * 菜单 ajax类
 * @package  ajax
 * @subpackage  backend
 * @create by allen.qiang
 */


class ajax_menu {

    public function execute() {

        if (isset($_REQUEST['operFlg']) && $_REQUEST['operFlg'] > 0) {

            switch($_REQUEST['operFlg']) {

                case 1:
                    $this->getMenu();
                    break;
            }

        }

    }

    private function getMenu (){

        $menu = insert_appmenu();

        die(json_encode($menu));

    }


}